package com.spareparts.protocol;

import android.util.Log;
import cm.framework.protocol.BaseHttpRequest;
import cm.framework.protocol.BaseHttpResponse;

public class WarehouseSubmitRequest extends BaseHttpRequest {

	public WarehouseSubmitRequest(String uid,String batch,String veneercodes,
			String headman,String dateline,String mark,String wid,Integer type)
	{
		setMethod(GET);
		String urlString;
		urlString = ProtocolDef.ABSOLUTEURI + ProtocolDef.METHOD_SUBMIT + "&uid="+uid+"&type="+type
				+"&batch="+batch+"&headman="+headman+"&dateline="+dateline+"&note="+mark+"&table=wareevent"
				+"&veneercodes="+veneercodes+"&wid="+wid;
		Log.e("spareparts",urlString);
		setAbsoluteURI( urlString );
	}
	
	@Override
	public BaseHttpResponse createResponse() 
	{
		return new WarehouseSubmitResponse();
	}

}
